<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SourceParams.createMasterpassParams - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">SourceParams</a>&nbsp;/&nbsp;<a href="./create-masterpass-params.html">createMasterpassParams</a><br/>
<br/>
<h1>createMasterpassParams</h1>
<a name="com.stripe.android.model.SourceParams.Companion$createMasterpassParams(kotlin.String, kotlin.String)"></a>
<code><span class="identifier">@JvmStatic</span> <span class="keyword">fun </span><span class="identifier">createMasterpassParams</span><span class="symbol">(</span><span class="identifier" id="com.stripe.android.model.SourceParams.Companion$createMasterpassParams(kotlin.String, kotlin.String)/transactionId">transactionId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.SourceParams.Companion$createMasterpassParams(kotlin.String, kotlin.String)/cartId">cartId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">SourceParams</span></a></code>
<p>Create parameters needed to make a Masterpass source</p>
<h3>Parameters</h3>
<p><a name="transactionId"></a>
<code>transactionId</code> - The transaction ID from the Masterpass SDK.</p>
<p><a name="cartId"></a>
<code>cartId</code> - A unique string that you generate to identify the purchase when creating a cart
for checkout in the Masterpass SDK.</p>
<p><strong>Return</strong><br/>
a <a href="index.html">SourceParams</a> object that can be used to create a Masterpass Card Source.</p>
</BODY>
</HTML>
